package com.youlai.boot.modules.collect.model.entity;

import lombok.Getter;
import lombok.Setter;
import com.baomidou.mybatisplus.annotation.TableName;
import com.youlai.boot.modules.common.base.BfBaseEntity;

/**
 * 用户收藏实体对象
 *
 * @author maoyu
 * @since 2025-02-27 10:29
 */
@Getter
@Setter
@TableName("bf_collect")
public class Collect extends BfBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 收藏对象ID
     */
    private Long sourceId;
    /**
     * 收藏类型(1:商品 2:商户)
     */
    private Integer sourceType;
}
